/*
 * ========================================================
 * Copyright(c) 2014 杭州偶尔科技-版权所有
 * ========================================================
 * 本软件由杭州偶尔科技所有, 未经书面许可, 任何单位和个人不得以
 * 任何形式复制代码的部分或全部, 并以任何形式传播。
 * 公司网址
 * 
 * 			http://www.kkkd.com/
 * 
 * ========================================================
 */
package com.simon.mengkou.data.bean.req;

import com.ouertech.android.agm.lib.base.bean.BaseRequest;

/**
 * @author : Zhenshui.Xia
 * @since : 2016/4/8.
 * desc    : 立即拼团or预售请求参数
 */
public class JoinGroupBuyReq extends BaseRequest {
    private static final long serialVersionUID = 1L;

    //拼团Id
    private String id;
    //商品数量
    private int quantity;
    //拼团or预售
    private int type;
    //地址Id
    private String addressId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
        add("id", id);
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
        add("quantity", String.valueOf(quantity));
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
        add("type", String.valueOf(type));
    }

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
        add("addressId", addressId);
    }
}
